/**
 * Set: 没有重复的值
 */

const arr = ["red", "green", "red"];
const set = new Set(arr); // 去重
console.log(set);
console.log(set.size);
set.add("white");
set.delete("red");
console.log(set);
